package com.bdsy.business.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bdsy.business.dao.PriceTrendMapper;
import com.bdsy.business.service.PriceTrendService;

@Service("priceTrendService")
public class PriceTrendServiceImpl implements PriceTrendService{

	@Autowired
	PriceTrendMapper priceTrendMapper;
	
	@Override
	public List<Map> selectPriceTrend(int shopTypeId) {
		@SuppressWarnings("rawtypes")
		List<Map> priceTrendList = priceTrendMapper.selectPriceTrend(shopTypeId);
		return priceTrendList;
	}

	@Override
	public List<Map> priceTrendList() {
		List<Map> priceTrendList = priceTrendMapper.priceTrendList();
		return priceTrendList;
	}

}
